package com.ruoyi.channel.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 表 mp_channel
 * 
 * @author ruoyi
 * @date 2019-05-07
 */
public class MpChannel extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 标识 */
	private Long id;
	/** 名称 */
	@Excel(name = "名称")
	private String name;
	/** 编码 */
	@Excel(name = "编码")
	private String code;
	/** 状态 0开启 1停用 */
	@Excel(name = "状态",readConverterExp = "0=开启,1=停用")
	private Integer status;
	/** 联系人姓名 */
	@Excel(name = "联系人姓名")
	private String contactName;
	/** 联系人手机 */
	@Excel(name = "联系人手机")
	private String contactPhone;
	/** 联系人电话 */
	@Excel(name = "联系人电话")
	private String contactEmail;
	/** 代付手续费 */
	@Excel(name = "代付手续费")
	private BigDecimal withdrawalFee;
	/** 商户代付手续费 */
	@Excel(name = "商户代付手续费")
	private BigDecimal mchWithdrawalFee;
	/** 代付限额左 */
	@Excel(name = "代付限额左")
	private BigDecimal withdrawalLimtLeft;
	/** 代付限额右 */
	@Excel(name = "代付限额右")
	private BigDecimal withdrawalLimtRight;
	/** 类名 */
	@Excel(name = "类名")
	private String className;
	/** 代付优先级 */
	@Excel(name = "代付优先级")
	private Integer withdrawalLevel;
	/** 请求渠道接口地址 */
	@Excel(name = "请求渠道接口地址")
	private String reqUrl;
	/** 渠道秘钥 */
	@Excel(name = "渠道秘钥")
	private String secretKey;
	/* 代扣 */
	@Excel(name = "代扣: 0启用 1停用")
	private Integer withdrawalInner;

	public String getReqUrl() {
		return reqUrl;
	}

	public void setReqUrl(String reqUrl) {
		this.reqUrl = reqUrl;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setContactName(String contactName) 
	{
		this.contactName = contactName;
	}

	public String getContactName() 
	{
		return contactName;
	}
	public void setContactPhone(String contactPhone) 
	{
		this.contactPhone = contactPhone;
	}

	public String getContactPhone() 
	{
		return contactPhone;
	}
	public void setContactEmail(String contactEmail) 
	{
		this.contactEmail = contactEmail;
	}

	public String getContactEmail() 
	{
		return contactEmail;
	}
	public void setWithdrawalFee(BigDecimal withdrawalFee)
	{
		this.withdrawalFee = withdrawalFee;
	}

	public BigDecimal getWithdrawalFee()
	{
		return withdrawalFee;
	}

	public void setMchWithdrawalFee(BigDecimal mchWithdrawalFee)
	{
		this.mchWithdrawalFee = mchWithdrawalFee;
	}

	public BigDecimal getMchWithdrawalFee()
	{
		return mchWithdrawalFee;
	}

	public void setClassName(String className) 
	{
		this.className = className;
	}

	public String getClassName() 
	{
		return className;
	}

	public Integer getWithdrawalLevel() {
		return withdrawalLevel;
	}

	public void setWithdrawalLevel(Integer withdrawalLevel) {
		this.withdrawalLevel = withdrawalLevel;
	}

	public BigDecimal getWithdrawalLimtLeft() {
		return withdrawalLimtLeft;
	}

	public void setWithdrawalLimtLeft(BigDecimal withdrawalLimtLeft) {
		this.withdrawalLimtLeft = withdrawalLimtLeft;
	}

	public BigDecimal getWithdrawalLimtRight() {
		return withdrawalLimtRight;
	}

	public void setWithdrawalLimtRight(BigDecimal withdrawalLimtRight) {
		this.withdrawalLimtRight = withdrawalLimtRight;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public Integer getWithdrawalInner() {
		return withdrawalInner;
	}

	public void setWithdrawalInner(Integer withdrawalInner) {
		this.withdrawalInner = withdrawalInner;
	}

	@Override
	public String toString() {
		return "MpChannel{" +
				"id=" + id +
				", name='" + name + '\'' +
				", code='" + code + '\'' +
				", status=" + status +
				", contactName='" + contactName + '\'' +
				", contactPhone='" + contactPhone + '\'' +
				", contactEmail='" + contactEmail + '\'' +
				", withdrawalFee=" + withdrawalFee +
				", mchWithdrawalFee=" + mchWithdrawalFee +
				", withdrawalLimtLeft=" + withdrawalLimtLeft +
				", withdrawalLimtRight=" + withdrawalLimtRight +
				", className='" + className + '\'' +
				", withdrawalLevel=" + withdrawalLevel +
				", reqUrl='" + reqUrl + '\'' +
				", secretKey='" + secretKey + '\'' +
				", withdrawalInner=" + withdrawalInner +
				'}';
	}
}
